<template>
  <div>
    <a-card
      ><a-tabs default-active-key="1" @change="callback">
        <a-tab-pane key="1" tab="任务看板" force-render>
          <taskDashboard></taskDashboard>
        </a-tab-pane>
        <a-tab-pane key="2" tab="当前任务"> <currentTask></currentTask> </a-tab-pane
      ></a-tabs>
    </a-card>
  </div>
</template>

<script>
// 导入mixin文件
import mixin from "./mixin";

import currentTask from "./currentTask.vue";
import taskDashboard from "./taskDashboard.vue";

export default {
  mixins: [mixin],
  components: {
    currentTask,
    taskDashboard,
  },
  name: "DailyPage", // 每日任务 每日任务
  data() {
    return {};
  },
  mounted() {
    this.init();
  },
  methods: {
    callback() {},
  },
};
</script>

<style lang="less" scoped></style>
